package com.huahua.graduateschoolspringboot.entity.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.huahua.graduateschoolspringboot.entity.BaseColumn;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author LoveHuaHua
 * @date 2023年05月06日 13:15
 * @description believe in yourself
 */
@Data
@TableName(value = "city_light_device")
@NoArgsConstructor
@AllArgsConstructor
public class CityLightDevice extends BaseColumn {

    /**
     * 设备名称
     */
    @TableField(value = "device_name")
    private String deviceName;

    /**
     * 设备状态 0=故障 1=开 2=关
     */
    @TableField(value = "`status`")
    private Integer status;

    /**
     * 亮度
     */
    private Integer brightness;
}